// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import store from './store'

import { Tab, Tabs } from 'vant';
// 列表
Vue.use(Tab);
Vue.use(Tabs);
import 'vant/lib/index.css';
// 评分
import { Rate } from 'vant';
Vue.use(Rate);

// 环形进度条
import { Circle } from 'vant';
Vue.use(Circle);

// 弹窗
import { Popup } from 'vant';
Vue.use(Popup);
//上传图片
import { Uploader } from 'vant';
Vue.use(Uploader)

// 返回标题
import { NavBar } from 'vant';
Vue.use(NavBar);

import { Empty } from 'vant';
Vue.use(Empty);

//图片懒加载
import { Swipe, SwipeItem } from 'vant';

Vue.use(Swipe);
Vue.use(SwipeItem);
import 'element-ui/lib/theme-chalk/index.css'
import 'vant/lib/index.css'
Vue.config.productionTip = false

// 密码输入框
import { PasswordInput, NumberKeyboard } from 'vant';
Vue.use(PasswordInput);
Vue.use(NumberKeyboard);


Vue.use(ElementUI)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
